package org.xg.study.pd.cuisine.impl;

import org.xg.study.pd.cook.ICook;
import org.xg.study.pd.cuisine.ICuisine;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName ShanDongCuisineImpl
 * @date 2021/9/16 14:38
 **/
public class ShanDongCuisineImpl implements ICuisine {
    private ICook cook;

    public ShanDongCuisineImpl(ICook cook) {
        this.cook = cook;
    }

    @Override
    public void cook() {
        cook.doCooking();
    }
}
